import _http from '@/utils/http'

export default {
    accountHome(params, loading, headers) {
        return _http('post', {
            url: '/eas/account/home',
            apiName: '我的账户信息',
        }, params, loading, headers)
    },
    shopBasic(params, loading, headers) {
        return _http('post', {
            url: '/eas/index/shopBasic',
            apiName: '商铺基本信息统计-商铺关系、商品套餐产品',
        }, params, loading, headers)
    },
    messageSearch(params, loading, headers) {
        return _http('post', {
            url: '/mnc/message/search/common',
            apiName: '消息查询-公共方法',
        }, params, loading, headers)
    },
    orderStaticsDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/index/orderStaticsDetail',
            apiName: '订单统计折线图',
        }, params, loading, headers)
    },
    orderStatics(params, loading, headers) {
        return _http('post', {
            url: '/eas/index/orderStatics',
            apiName: '订单统计总数',
        }, params, loading, headers)
    },
}
